package io.renren.modules.api.service;

import io.renren.modules.api.entity.UserFrequentlyRouteSectionEntity;

import java.util.List;
import java.util.Map;

/**
 * 常用路线路段(详情)
 * 
 * @author wangdajiang
 * @email 2750757088@qq.com
 * @date 2018-03-21 15:47:02
 */
public interface UserFrequentlyRouteSectionService {
	
	UserFrequentlyRouteSectionEntity queryObject(Long id);
	
	List<UserFrequentlyRouteSectionEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(UserFrequentlyRouteSectionEntity userFrequentlyRouteSection);
	
	void update(UserFrequentlyRouteSectionEntity userFrequentlyRouteSection);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	List<UserFrequentlyRouteSectionEntity> queryListByRouteId(Long routeId);

	List<Map<String,Object>> queryListMapByRouteId(Long routeId);

}
